package com.ruoyi.web.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * 【请填写功能名称】对象 writ
 *
 * @author ruoyi
 * @date 2022-03-10
 */
public class Writ extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String dockername;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientname;

    /** 科室 */
    @Excel(name = "科室")
    private String departments;

    /** 床号 */
    @Excel(name = "床号")
    private String bednumber;

    /** 住院号 */
    @Excel(name = "住院号")
    private String admissionnumber;

    /** 诊断 */
    @Excel(name = "诊断")
    private String complication;

    /** 可能出现的并发症和合并症 */
    @Excel(name = "可能出现的并发症和合并症")
    private String scheme;

    /** 治疗方案以及可能出现的不良后果 */
    @Excel(name = "治疗方案以及可能出现的不良后果")
    private String items;

    /** 病情可能的转归:(治愈,好转,无变化,恶化,死亡) */
    @Excel(name = "病情可能的转归:(治愈,好转,无变化,恶化,死亡)")
    private String result;

    /** 医生签字 */
    @Excel(name = "医生签字")
    private String dockersignature;

    /** 医生签字时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "医生签字时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dockertime;

    /** 患者签字 */
    @Excel(name = "患者签字")
    private String patientsignature;

    /** 患者签字时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "患者签字时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date patienttime;

    /** 监护人签字 */
    @Excel(name = "监护人签字")
    private String guardiansignature;

    /** 监护人签字时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监护人签字时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date guardiantime;

    /** 监护人关系 */
    @Excel(name = "监护人关系")
    private String relationship;

    /** 状态 0就绪,1完成 */
    @Excel(name = "状态 0就绪,1完成")
    private Long status;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setDockername(String dockername)
    {
        this.dockername = dockername;
    }

    public String getDockername()
    {
        return dockername;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setPatientname(String patientname)
    {
        this.patientname = patientname;
    }

    public String getPatientname()
    {
        return patientname;
    }
    public void setDepartments(String departments)
    {
        this.departments = departments;
    }

    public String getDepartments()
    {
        return departments;
    }
    public void setBednumber(String bednumber)
    {
        this.bednumber = bednumber;
    }

    public String getBednumber()
    {
        return bednumber;
    }
    public void setAdmissionnumber(String admissionnumber)
    {
        this.admissionnumber = admissionnumber;
    }

    public String getAdmissionnumber()
    {
        return admissionnumber;
    }
    public void setComplication(String complication)
    {
        this.complication = complication;
    }

    public String getComplication()
    {
        return complication;
    }
    public void setScheme(String scheme)
    {
        this.scheme = scheme;
    }

    public String getScheme()
    {
        return scheme;
    }
    public void setItems(String items)
    {
        this.items = items;
    }

    public String getItems()
    {
        return items;
    }
    public void setResult(String result)
    {
        this.result = result;
    }

    public String getResult()
    {
        return result;
    }
    public void setDockersignature(String dockersignature)
    {
        this.dockersignature = dockersignature;
    }

    public String getDockersignature()
    {
        return dockersignature;
    }
    public void setDockertime(Date dockertime)
    {
        this.dockertime = dockertime;
    }

    public Date getDockertime()
    {
        return dockertime;
    }
    public void setPatientsignature(String patientsignature)
    {
        this.patientsignature = patientsignature;
    }

    public String getPatientsignature()
    {
        return patientsignature;
    }
    public void setPatienttime(Date patienttime)
    {
        this.patienttime = patienttime;
    }

    public Date getPatienttime()
    {
        return patienttime;
    }
    public void setGuardiansignature(String guardiansignature)
    {
        this.guardiansignature = guardiansignature;
    }

    public String getGuardiansignature()
    {
        return guardiansignature;
    }
    public void setGuardiantime(Date guardiantime)
    {
        this.guardiantime = guardiantime;
    }

    public Date getGuardiantime()
    {
        return guardiantime;
    }
    public void setRelationship(String relationship)
    {
        this.relationship = relationship;
    }

    public String getRelationship()
    {
        return relationship;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("dockername", getDockername())
                .append("gender", getGender())
                .append("patientname", getPatientname())
                .append("departments", getDepartments())
                .append("bednumber", getBednumber())
                .append("admissionnumber", getAdmissionnumber())
                .append("complication", getComplication())
                .append("scheme", getScheme())
                .append("items", getItems())
                .append("result", getResult())
                .append("dockersignature", getDockersignature())
                .append("dockertime", getDockertime())
                .append("patientsignature", getPatientsignature())
                .append("patienttime", getPatienttime())
                .append("guardiansignature", getGuardiansignature())
                .append("guardiantime", getGuardiantime())
                .append("relationship", getRelationship())
                .append("status", getStatus())
                .toString();
    }
}
